package org.yty.travelagencymongodb.service;

import org.yty.travelagencymongodb.model.Entity.ScenicSpot;

import java.util.List;

public interface ScenicSpotService {
    List<ScenicSpot> list();

    ScenicSpot getById(Long id);

    boolean update(ScenicSpot scenicSpot);

    boolean save(ScenicSpot scenicSpot);

    void removeById(Long id);
}
